iptables overview
-t # Table to use. It defaults to FILTER
-I # insert at the top of the chain
-A # append to bottom of the chain
-D # Delete the rule
-m # Match on IP, protocol or port
-j # Target or the action to do with the packet eg ACCEPT, REJECT, DROP or LOG

iptables -t filter -I INPUT -m tcp -p tcp --dport 80 -j ACCEPT

